// 导航栏
.navigation{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(0,0,0,.8);
    margin: 0 auto;
    z-index: 999;
    .nav{
        position: relative;
        width: 100%;
        height: 100%;
        // background-color: rgba(0,0,0,.85);
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        opacity: 1;
        transition: .3s linear;
        div:nth-child(1){
            img{
                width: 34px;
                height: 34px;
                margin-left: 50px;
            }
        }
    
        .maxNav{
            height: 60%;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: space-between;
            align-items: center;
            font-weight: 900;
            div{
                height: 100%;
                margin: 0 10px;
                a{
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 100%;
                    height: 100%;
                    text-decoration: none;
                    color: white;
                }
                a:hover{
                    color: orange;
                    text-shadow: 0 0 2px white;
                }
            }
        }
    
        .user{
            display: flex;
            flex-wrap: nowrap;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            margin-right: 50px;
            div{
                width: 50%;
                a{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 10px;
                    color: white;
                    text-decoration: none;
                }
                a:hover{
                    color: orange;
                }
            }
            div:nth-child(1){
                padding-right: 15px;
                border-right: 1px solid white;
            }
            div:nth-child(2){
                padding-left: 15px;
                border-left: 1px solid white;
            }
        }
    }

    .input{
        display: none;
    }

    & > .input:nth-child(2){
        &:checked~.minNav{
            label{
                .minNav-top{
                    div:nth-child(1){
                        transform-origin: center;
                        transform: rotate(45deg);
                        top: 50%;
                        width: 50%;
                        left: 25%;
                    }
                    div:nth-child(2){
                        opacity: 0;
                    }
                    div:nth-child(3){
                        transform-origin: center;
                        transform: rotate(-45deg);
                        top: 50%;
                        width: 50%;
                        left: 25%;
                    }
                }
            }
        }
    }

    .minNav{
        position: absolute;
        top: 0;
        display: none;
        right: 25px;
        width: 120px;
        height: 60px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        color: white;
        transition: .4s linear;
        label{
            display: block;
            width: 50%;
            height: 100%;
            .minNav-user{
                width: 100%;
                height: 100%;
                font-size: 30px;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .minNav-user:hover{
                color: orange;
            }

            .minNav-top{
                position: relative;
                width: 100%;
                height: 100%;
                div{
                    position: absolute;
                    width: 60%;
                    height: 5%;
                    left: 20%;
                    background-color: white;
                    transition: .3s linear;
                }

                div:nth-child(1){
                    top: 33%;
                }

                div:nth-child(2){
                    top: 48.5%;
                }

                div:nth-child(3){
                    top: 64%;
                }
            }

            .minNav-top:hover{
                div{
                    background-color: orange;
                }
            }
        }
    }
}

.top{
    display: none;
    opacity: .5;
    width: 80px;
    height: 90px;
    border-radius: 2px;
    position: fixed;
    right: 20px;
    top: 75%;
    font-size: 45px;
    text-align: center;
    line-height: 40px;
    color: white;
    background-color: black;
    transition: .3s linear;
    text-decoration: none;
    z-index: 999;
    div{
        position: absolute;
        width: 100%;
        height: 40px;
        bottom: 0;
        font-size: 15px;
    }
    &:hover{
        opacity: 1;
    }
}


.content{
    width: 100%;
    height: 60px;
    .shop{
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
    }
    & > div{
        position: relative;
        margin-bottom: 20px;
    }
    .content1{
        width: 100%;
        img{
            width: 100%;
        }
    }
    .content2{
        width: 100%;
        img{
            width: 100%;
        }
    }
    .content3{
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        img{
            width: 50%;
        }
    }
    .content4{
        width: 100%;
        height: auto;
        .swiper{
            div{
                img{
                    width: 100%;
                }
            }
        }
    }
}
